package com.hotel.sampleTool;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.hotel.BL.MessageFolioLogic;

import data.MessageFolio;

public class MessageFolioSample extends RequestSampleData {
	public MessageFolioSample(HttpServletRequest req,HttpServletResponse resp){
		this.req = req;
		this.resp = resp;
	}
	@Override
	public void CreateSample() {
		CreateSample(1);
	}

	@Override
	public void CreateSample(int iteration) {
		List<MessageFolio> messageFolio = new MessageFolioLogic().GenerateMessageFolio(1);
		for(MessageFolio a : messageFolio)
			datastore.put(a.getEntity());
	}


}
